/*
 * Copyright (C) hushenglan
 */

#ifndef _COMMON_BASETYPES_H_
#define _COMMON_BASETYPES_H_

#include <stdio.h>
#include <sys/types.h>
#include <inttypes.h>
#include <stdlib.h>
#include <iostream>

namespace common
{
#define MS_OK       0
#define MS_ERROR    -1

typedef u_char      ms_uchar_t;
typedef int8_t      ms_int8_t;
typedef uint8_t     ms_uint8_t;
typedef int16_t     ms_int16_t;
typedef uint16_t    ms_uint16_t;
typedef int32_t     ms_int32_t;
typedef uint32_t    ms_uint32_t;
typedef int64_t     ms_int64_t;
typedef uint64_t    ms_uint64_t;
}

#endif
